@import "./pag";

.main {
  width: 1200px;

  .add_mood {
    width: 100%;
  }

  .mood {
    margin-top: 40px;

    > .left {
      width: 100px;
      img {
        height: 70px;
        width: 70px;
        border-radius: 5px;
      }
    }

    > .right {
      width: calc(100% - 100px);
      background-color: var(--card_bg);
      border-radius: 5px;
      position: relative;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      padding: 10px 20px;

      &::before {
        content: '';
        display: block;
        position: absolute;
        left: -21px;
        top: 10px;
        border-width: 10px;
        border-style: solid;
        border-color: transparent var(--card_bg) transparent transparent;

      }

      .drawing {
        img {
          border-radius: 10px;
          height: 120px;
          margin-right: 10px;
          margin-bottom: 10px;
        }
      }

      .info {
        font-size: 14px;
        justify-content: space-between;

        //svg 图标
        .addr {
          margin-left: 5px;
          position: relative;
          top: 4px;
          width: 20px;
          height: 20px;
        }

        .addr_info {
          color: var(--active);
        }

        .sub_info {
          color: var(--font_2);
        }

        > .three > span {
          cursor: pointer;
          margin-left: 10px;
        }

        .delete {
          color: var(--font_del);
        }
      }

      .name {
        margin-bottom: 5px;
      }

      .content {
        margin-bottom: 5px;
      }


      .sub_comment_list {
        display: none;
        margin-top: 10px;
        margin-bottom: 10px;

        li {
          .left {
            width: 70px;

            img {
              width: 50px;
              height: 50px;
              border-radius: 5px;
              border: 1px solid var(--bg);
            }


          }

          .right {
            width: calc(100% - 70px);

            .info {
              font-size: 14px;
              justify-content: space-between;

              > .three > span {
                cursor: pointer;
                margin-left: 10px;
              }

              .delete {
                color: var(--font_del);
              }
            }
          }
        }
      }

      .rep_mood {
        width: 100%;
        margin-top: 10px;
      }
    }

  }

  .pager{
    margin-top: 20px;
  }

  .add_mood_content {
    > div {
      margin-bottom: 20px;

      > label {
        margin-bottom: 5px;
      }

      > div, > ul {
        margin-top: 5px;
      }

      .avatar_list {
        flex-wrap: wrap;
        list-style: none;
        margin-right: 10px;

        > li {
          margin-right: 10px;
          margin-bottom: 10px;

          .el-radio {
            display: flex;
            align-items: center;
          }
        }
      }


      img {
        height: 50px;
        width: 50px;
        border-radius: 5px;

      }
    }

    .show_drawing {
      img {
        width: initial;
        margin-right: 10px;
      }
    }

  }
}




.el-button--primary.is-plain{
  background-color: var(--ele_bg);
}





